Method and device for drawing and formatting image

ABSTRACT

Method and Device for drawing and formatting an image. Whenever a user prepares to use an application, or a file, to treat the scanned image of an object, the user only needs to place the object on a scanner and to select the icon of the application, or the file, and compile it with the icon of the scanner. The utilization of the present invention will automatically drive the driver of the scanner and integrate the relative information into the driver. Thus, after the scanned image is acquired, the application, or relative application of the file, is automatically active to treat the scanned image. Further, the format of the scanned image could be transformed by some applications such as the OCR.

BACKGROUND OF THE INVENTION

[0001] 1. Field of the Invention

[0002] The present invention generally relates to a method for drawing and formatting an image, and more particularly to a method and device to treat a scanned image by using a program or a file by selecting a scanner icon and a program icon (or a file icon).

[0003] 2. Description of the Prior Art

[0004] In the conventional technologies, there are two common methods for a user to use a program and/or a file to treat an image acquired from scanning an object:

[0005] The first method, as shown by activating scanner block 11, setting up scanning block 12 and activating program block 13 of FIG. 1A. The user needs to sequentially activate (call) the driver (such as VistaSCan), set up the path to operate the scanner with corresponding programs and/or files, and treat the scanned image by the activated program and/or file after the operation of the scanner is finished.

[0006] The second method, as shown by activating block 14, driving block 15 and treating block 16 of FIG. 1B. The user needs to sequentially activate a program and/or a file which supports the TWAIN interface, use the program (file) to drive the scanner, and use the program (file) to treat the scanned image acquired by scanning.

[0007] Indisputably, both methods have unavoidable defects. For the first method the operating steps are complicated, and the user must perform all the steps for setting up scanning block 12. For the second method, although it is not necessary to set up the program and file path before scanning, not every program and file supports the TWAIN interface.

[0008] Therefore, it's a desired objective to enhance the users scanning convenience, by providing the freedom to use a current scanning process without supporting the TWAIN interface.

SUMMARY OF THE INVENTION

[0009] An object of the present invention is to simplify the scanning process, scanned image especially to eliminate the load the user performs to certify the path of programs and files prior to scanning the image.

[0010] Another object of the present invention is to easily acquire a scanned image even if the TWAIN interface is supported or not.

[0011] A main characteristic of the present invention is similar to the function in the current operations system, which two different programs (or files) could interact with each other while their corresponding icons are overlapped. For example, in the current operation of the windows system, if a file icon is drawn into the “recycle bin” icon, the icon functions, file and recycle, are then combined to delete the file. In comparison, in the present invention, the user only needs to select and draw a non-scanned icon that corresponds to a file or a program, into a scanned icon that corresponds to a scanner. The functions of both the non-scanned icon and the scanned icon are automatically activated to scan the image.

[0012] Another main characteristic of the present invention is described as follows. While a non-scanned icon is overlapped with a scanned icon, the contents of both icons are first analyzed for scanning, the driver is then activated and the program (file) information, such as path, are automatically integrated into the driver. Hence, after an image is acquired by a scanning operation, the image could be treated by an automatically activated program (or corresponding program of the file). Further, some programs, such as the optical character recognition program (OCR program), could be used to transfer the image into a format that is acceptable for the activated program.

[0013] Clearly, this invention allows the user to scan without setting up a path, and allows the user to scan without considering whether the TWAIN interface is supported. While a scanning operation is required, one only needs to put the object on the scanner, to decide whether the program (or file) would be used to treat the scanned image, and to draw the icon(s).

BRIEF DESCRIPTION OF THE DRAWINGS

[0014] The foregoing aspects and many of the accompanying advantages of this invention will become more readily appreciated as the same becomes better understood by reference to the following detailed description, when taken in conjunction with the accompanying drawings, wherein:

[0015]FIG. 1A and FIG. 1B are two flow-charts that shows the conventional steps performed by a user while a program (or a file) would be used to treat a scanned file;

[0016]FIG. 2A to FIG. 2C shows three possible flow-charts of one preferred embodiment of the present invnetion;

[0017]FIG. 3A and FIG. 3B shows the essential configuration of another preferred embodiment of the present invention; and

[0018]FIG. 4 shows the flow-chart of the other preferred embodiment of the present invention.

DESCRIPTION OF THE PREFERRED EMBODIMENT

[0019] According to the previous discussions, one preferred embodiment of the invention is a method for drawing and formatting images as shown in FIG. 2A, and at least comprises the following steps:

[0020] As shown in monitoring block 21, a monitoring process is performed to monitor whether a scanned icon is overlapped with a non-scanned icon on a display device.

[0021] As shown in analyzing block 22, an analyzing process is performed to analyze the content of the non-scanned icon while the non-scanned icon is overlapped with the scanned icon.

[0022] As shown in controlling block 23, a controlling process is performed to control the scanning device to perform the corresponding scanning action according to the content.

[0023] Certainly, as shown in FIG. 2B, the preferred embodiment could perform a processing block 24 and the corresponding specific action after the scanning action and the performing block 23 is finished. For example, if the corresponding file to the non-scanned icon is a TEXT file that is unable to treat an image, the corresponding specific action could use an optical character recognition process to treat an image acquired by the scanning action.

[0024] In the embodiment, the analyzing process decides which specific program or a specific file corresponds with the non-scanned icon. Herein, the decision could be achieved by simply referring to the files of these icons in the corresponding operating system.

[0025] Besides, the analyzing process could decide whether the specific file is distinguishable and what is the corresponding program of the specific file. For example, by referring to the files of these icons in the operating system, it is possible to handle both the name and the path of the corresponding program, and its also possible to activate the specific program for checking whether the specific program is performable.

[0026] Further, the controlling process could set up the path of the specific program while the scanning device is activated, according to the corresponding file of the non-scanned icon in the operating system. Thus, the specific program could automatically treat an image acquired by the scanning action after the scanning action is finished. Similarly, the controlling process could set up a path for the corresponding program of the distinguishable file while the scanning device is activated. Hence, the corresponding program could automatically treat an image acquired by the scanning action after the scanning action is finished.

[0027] Furthermore, while the non-scanner icon corresponds to a non-distinguishable specific file, the controlling process could send a warning message without activating the scanning device. Similarly, while the specific program is non-available, the controlling process could send a warning message without activating the scanning device.

[0028] To further explain the possible amendments of the embodiment, FIG. 2C shows a possible amendment of the embodiment:

[0029] As shown in tracking block 251, a continuous monitoring between the relations of the scanner icon and other icons is performed.

[0030] As shown in the first decision block 252, it's determined whether a specific icon is overlapped with the scanner icon. If the answer is yes, the second decision block 253 is performed. Otherwise, tracking block 251 will continually perform.

[0031] As shown in the second decision block 253, it's determined which is the corresponding program or corresponding file for the specific icon. If it can not be determined or it's not distinguishable, the tracking block 251 will continually perform and send a warning message, if necessary. Otherwise, the activating block 254 is performed.

[0032] As shown in activating block 254, the active driver of the scanner corresponds with the scanned icon.

[0033] As shown in integrating block 255, the path for the program/file corresponding to the specific icon is input into the driver of the scanner corresponding to the scanned icon.

[0034] As shown in scanning block 256, scan an object by the scanner.

[0035] As shown in third deciding block 257, a determination is made whether the scanned image needs to be treated, such as the OCR program. Herein, information, such as the path of corresponding program/file, of the specific icon is used to decide whether the corresponding program/file could directly treat the scanned image or the format of the scanned image needs to be changed.

[0036] As shown in the extra processing block 258, the format of the scanned image is changed into a specific format while the answer of third deciding block 327 is necessary.

[0037] As shown in the automatically activating block 259, after both the third deciding block 257 and extra processing block 258 are finished, the specific icon of the corresponding program/file is automatically activated to treat the scanned image, and the format of the scanned image may be possibly changed.

[0038] Certainly, after the automatically activating block 259 is finished, the tracking block 251 is automatically performed again except if the user sends a new order.

[0039] Another preferred embodiment of the invention is a device for drawing and formatting an image. As shown in FIG. 3A and FIG. 3B, at least a monitoring means 31, analyzing means 32 and a controlling means 33 is provided, and could further include a processing means 34.

[0040] Monitoring means 31 is used to monitor whether a scanned icon is overlapped with a non-scanned icon on a display device. Analyzing means 32 is used to analyze the content of the non-scanned icon while the non-scanned icon is overlapped with the scanned icon. Controlling means 33 is used to control a scanning device to perform a corresponding scanning action according to the content. And a processing means 34 is used to automatically activate a program and/or file, which corresponds to the non-scanned icon, to treat the image acquired by the scanning action after the scanning action is finished.

[0041] By comparing with the previous embodiment, the monitoring means 31 corresponds to monitoring block 21, analyzing means 32 corresponds to analyzing block 22, controlling means 33 corresponds to controlling block 33, and the processing means 34 corresponds to processing block 34. In other words, each means is limited by the function of its corresponding block, but is not limited how to form the means. In short, each means could be hardware, such as a microprocessor or integrated circuits, or software, such as program or operating system, a firmware, or a combination of hardware/software/firmware. The embodiment is never limited on how to form each means.

[0042] Therefore, the analyzing means 32 could decide a non-scanned icon corresponds to a specific program or a specific file. Analyzing means 32 could decide whether the specific file is distinguishable and what's the corresponding program of the specific file. Controlling means 33 could set up the path for the specific program while the scanning device is activated, such that an image acquired by the scanning action is automatically treated by a specific program after the scanning action is finished. Controlling means 33 could set up the path of the corresponding program of a distinguishable file while the scanning device is activated, such that an image acquired by the scanning action is automatically treated by the corresponding program after the scanning action is finished. Controlling means 33 could send a warning message without activating the scanning device while the non-scanner icon corresponds to a non-distinguishable specific file. Controlling means 33 could send a warning message without activating said scanning device while said specific program is non-available. Controlling means 33 further could perform a corresponding specific action after the scanning action is finished. Herein, possible corresponding specific actions could use an optical character recognition process to treat an image acquired by the scanning action.

[0043] The other preferred embodiment of the invention is present from the viewpoint of the user: a method for using a scanner with the functions of drawing and formatting an image. As show in FIG. 4, at least the following steps are provided:

[0044] As shown in the first preparation block 41, the scanner connected with a monitor.

[0045] As shown in second preparation block 42, an object is located on the scanner.

[0046] As shown in icon operation block 43, draw a non-scanned icon to overlap a scanned icon on the monitor, Hence, the scanner is activated to treat the object and an image acquired by the scanner is automatically treated by a specific program corresponds to the non-scanned icon.

[0047] However, the embodiment is not limited to only draw the non-scanned icon. In fact, any operation could let the non-scanned icon and the scanned icon be overlapped is available for the embodiment. Herein, the scanned icon corresponds to the scanner and the non-scanned icon corresponds to a program or the file.

[0048] As shown in treat block 44, treat the image by a specific program.

[0049] Significantly, one main characteristic of the embodiment is that the user only needs to operate the icons. The user need not to set up the details of the program/file to be used before/after the operation of the scanner, the user also need not to consider whether the TAWAN interface is supported by the program/file to be used.

[0050] Of course, it is to be understood that the invention need not be limited to these disclosed embodiments. Various modifications and similar changes are still possible within the spirit of this invention. In this way, the scope of this invention should be defined by the appended claims. 

What is claimed is:
 1. A device for drawing and formatting image, comprising: means for monitoring whether a scanned icon is overlapped with a non-scanned icon on a display device; means for analyzing a content of said non-scanned icon while said non-scanned icon is overlapped with said scanned icon; and means for controlling a scanning device to perform a corresponding scanning action in according to said content.
 2. The device according to claim 1, said analyzing means deciding said non-scanned icon corresponds to a specific program or a specific file.
 3. The device according to claim 2, said analyzing means deciding whether said specific file is distinguishable and what is a corresponding program of said specific file.
 4. The device according to claim 2, said controlling means setting up a path of said specific program while said scanning device is activated, such that an image acquired by said scanning action is automatically treated by said specific program after said scanning action is finished.
 5. The device of claim 3, said controlling means setting up a path of said corresponding program of said distinguishable file while said sustaining device is activated, such that an image acquired by said scanning action is automatically treated by said corresponding program after said scanning action is finished.
 6. The device of claim 3, said controlling means sending a warning message without activating said scanning device while said non-scanner icon corresponds to a non-distinguishable specific file.
 7. The device of claim 2, said controlling means sending a warning message without activating said scanning device while said specific program is non-available.
 8. The device of claim 1, said controlling means further performing a corresponding specific action after said scanning action is finished.
 9. The device of claim 8, said corresponding specific action is the step of using an optical character recognition process to treat an image acquired by said scanning action.
 10. A method for drawing and formatting image, comprising: performing a monitoring process to monitor whether a scanned icon is overlapped with a non-scanned icon on a display device; performing an analyzing process to analysis a content of said non-scanned icon while said non-scanned icon is overlapped with said scanned icon; and performing a controlling process to control a scanning device to perform a corresponding scanning action in according to said content.
 11. The method according to claim 10, said analyzing process deciding said non-scanned icon corresponds to a specific program or a specific file.
 12. The method according to claim 11, said analyzing process deciding whether said specific file is distinguishable.
 13. The method according to claim 11, said analyzing process deciding a corresponding program of said specific file.
 14. The method according to claim 11, said controlling process setting up a path of said specific program while said scanning device is activated, such that an image acquired by said scanning action is automatically treated by said specific program after said scanning action is finished.
 15. The method of claim 13, said controlling process setting up a path of said corresponding program of said distinguishable file while said scanning device is activated, such that an image acquired by said scanning action is automatically treated by said corresponding program after said scanning action is finished.
 16. The method of claim 12, said controlling process sending a warning message without activating said scanning device while said non-scanner icon corresponds to a non-distinguishable specific file.
 17. The method of claim 11, said controlling process sending a warning message without activating said scanning device while said specific program is non-available.
 18. The method of claim 10, said controlling process further performing a corresponding specific action after said scanning action is finished.
 19. The method of claim 18, said corresponding specific action is the step of using an optical character recognition process to treat an image acquired by said scanning action.
 20. A method for using a scanner with the functions of drawing and formatting image, comprising: connecting said scanner with a monitor; locating an object on said scanner; drawing a non-scanned icon to overlap a scanned icon on said monitor, such that said scanner is activated to treat said object and an image acquired by said scanner is automatically treat by a specific program corresponds to said non-scanned icon, herein said scanned icon corresponds to said scanner and said non-scanned icon corresponds to a program or a file; and treating said image by said specific program. 